From: Colin Walters Date: Wed, 14 Oct 2009 19:36:58 +0000 (-0400) Subject: [AppWell] Don't duplicate running+favorite X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~10742 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7bec02dcb1efabee08f8a83ca5765b7721d1848b;p=gnome-shell.git [AppWell] Don't duplicate running+favorite Regression introduced with previous patch. --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 14f246b86..47dd726ef 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -865,6 +865,8 @@ AppWell.prototype = { for (let i = 0; i < running.length; i++) { let app = running[i]; + if (app.get_id() in favoriteIds) + continue; let display = new RunningWellItem(app, false); this._grid.actor.add_actor(display.actor); }